// 示例
var ourArr = [9, 10, 11, 12];
var ourTotal = 0;

for (var i = 0; i < ourArr.length; i++) {
    ourTotal += ourArr[i];
}

// 初始化变量
var myArr = [2, 3, 4, 5, 6];

// 请把你的代码写在这条注释以下
var total = 0;
for (var i = 0, len = myArr.length; i < len; i++) {
    total += myArr[i];
}
